import {Injectable} from '@angular/core';

import {Http} from '@angular/http';
@Injectable()

export class ShopProductService{

  constructor(private http:Http){}

  getShopProduct(param){

    return this.http.get('/qbmf/v2/api/detail/getShopProducts',{"search":param});
  }

  getProduct(param){

    return this.http.get('/qbmf/v2/api/detail/getShopProducts',{"search":param});
  }

  getShopCat(param){

    return this.http.get('/qbmf/v2/api/shop/getShopCats',{"search":param});
  }
}
